# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer:
pkgname=py3-aspectlib
pkgver=1.5.2
pkgrel=3
pkgdesc="aspect-oriented programming, monkey-patch and decorators library"
options="!check" # Missing process-tests
url="https://github.com/ionelmc/python-aspectlib"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/a/aspectlib/aspectlib-$pkgver.tar.gz"
builddir="$srcdir/aspectlib-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="999f7e893aee15d5bd89ae9aa45b82b639aae777ec5e946f7f0ee5aa7c2153d6a05ae0f1e95b7f5cdb4f4d12f188093479d9c50df6c7521003e83289cabb494b  aspectlib-1.5.2.tar.gz"
